package com.liming.common.pojo.vo.product;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author liming
 * @date 2025/1/23
 */
@Data
@Schema(description = "商品VO基类")
public class BaseProductVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "商品ID")
    private Long id;

    @Schema(description = "商品名称")
    private String name;

    @Schema(description = "商品型号")
    private String modelNumber;

    @Schema(description = "商品库存数量（整数型）")
    private Integer quantity;

    @Schema(description = "商品销量数量（整数型）")
    private Integer salesCount;

    @Schema(description = "商品是否上架（0：下架，1：上架），商品默认上架")
    private Integer onShelf;

    @Schema(description = "品牌ID")
    private Long brandId;

    @Schema(description = "品牌名称")
    private String brandName;

    @Schema(description = "分类ID")
    private Long categoryId;

    @Schema(description = "分类名称")
    private String categoryName;

    @Schema(description = "商品主图链接地址")
    private String mainImageUrl;

    @Schema(description = "商品详情图片链接地址列表")
    private String detailImagesUrl;

    @Schema(description = "商品视频链接地址")
    private String videoLink;

    @Schema(description = "商品功能特点介绍内容")
    private String features;
}
